home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Almathera Ten Pack 3: CDPD 3
/
Almathera Ten on Ten - Disc 3: CDPD3.iso
/
scope
/
026-050
/
scopedisk29
/
batcher
/
batcher.doc
< prev
next >
Wrap
Text File
|
1995-03-18
|
864b
|
17 lines
BATCHER By WESLEY HOWE
Batcher is a 216-byte Assembly program that allows batch files to be
executed from the CLI without explicitly using the execute command. It
operates by looking for the name by which it was executed, appending the
suffix ".bat" to this name. It attempts to execute it, using the AmigaDOS
execute function, passing any remaining parameters on the command-line tail
to the batch file. The program "RUN" needs to be in the C directory for this
to work.
To use it, rename the assembled program from "Batcher" to the name of
the DOS batch file you want to execute, and rename the batch file to the
same name with ".bat" on the end. For example, to execute a 'C' compilation
and link, make a batch file to do this named "cc.bat". Copy Batcher to cc.
Then you can execute the compilation by typing "cc <program name>" from the
CLI.